package com.bdqn.ch07.service.impl;

import com.bdqn.ch07.mapper.SysUserMapper;
import com.bdqn.ch07.pojo.SysRole;
import com.bdqn.ch07.service.SysRoleService;

import java.util.Collections;
import java.util.List;

/**
 * SysRoleServiceImpl
 *
 * @aurhor Administrator  whs
 * @since 2024/7/22
 */
public class SysRoleServiceImpl implements SysRoleService {

    private SysUserMapper sysUserMapper;

    /**
     * ch07 简答
     * 实现角色信息的添加操作
     *
     * @param sysRole
     * @return
     */
    @Override
    public int addSysRole(SysRole sysRole) {
        return 0;
    }

    /**
     * ch07 简答
     * 根据角色名称模糊查询角色列表的操作
     *
     * @param roleName
     * @return
     */
    @Override
    public List<SysRole> selectSysRoleByRoleName(String roleName) {
        return Collections.emptyList();
    }
}
